package org.pmt.first.kms

import android.os.Build
import androidx.compose.material3.adaptive.WindowAdaptiveInfo
import androidx.compose.runtime.Composable

class AndroidPlatform : Platform {
    override val name: String = "Android ${Build.VERSION.SDK_INT}"
}

actual fun getPlatform(): Platform = AndroidPlatform()

@Composable
actual fun getWindowAdaptiveInfo(): WindowAdaptiveInfo =
    androidx.compose.material3.adaptive.currentWindowAdaptiveInfo()